package cn.wolfcode.crm.query;

import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class QueryForObject {
    /**
     * 表示页面size
     */
    private int rows=10;
    /**
     * 表示当前页
     */
    private int page=1;

    public int getStartIndex(){
        return (page-1)*rows;
    }
}
